package com.xiejr.fasttm;


import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@Slf4j
@ComponentScan("com.xiejr.fasttm")
@EnableAspectJAutoProxy
@EnableAsync
@EnableCaching
@EnableScheduling
public class CommonAutoConfig implements InitializingBean {


    @Override
    public void afterPropertiesSet() throws Exception {
        log.info("fast-tm common module has started successfully!!!");
    }
}
